﻿using Game15;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test.GameFifteen
{
    [TestClass()]
    public class NameAndScoreTest
    {
        [TestMethod]
        public void NameAndScoreTesting()
        {
            NameAndScore test = new NameAndScore("Stanislav", 12);
            Assert.AreEqual("Stanislav", test.Name);
            Assert.AreEqual(12, test.Score);
            test.Name = "Pesho";
            test.Score = 23;
            Assert.AreEqual("Pesho", test.Name);
            Assert.AreEqual(23, test.Score);
        }
    }
}
